<template>
    <div class="box">
        <div class="top">
            <ul>
                <li>
                    <input type="button" value="全部" disabled>
                </li>
                <li>
                    <input type="button" value="审核中">
                </li>
                <li>
                    <input type="button" value="审核通过">
                </li>
                <li>
                    <input type="button" value="审核拒绝">
                </li>
            </ul>
        </div>
        <div class="content">
            <div class="main">
                <ul>
                    <li>
                        <div class="imgs">
                            <img src="@/assets/user.jpg">
                            <span class="state">审核通过</span>
                        </div>
                        <div class="msg">
                            <span class='title'>运动会志愿者招募</span>
                            <span class="time">2022-12-20 08：00 至 2022-12-22 04：30</span>
                            <span class="place">中山公园</span>
                        </div>
                    </li>
                    <li>
                        <div class="imgs">
                            <img src="@/assets/user.jpg">
                            <span class="state">审核通过</span>
                        </div>
                        <div class="msg">
                            <span class='title'>运动会志愿者招募</span>
                            <span class="time">2022-12-20 08：00 至 2022-12-22 04：30</span>
                            <span class="place">中山公园</span>
                        </div>
                    </li>
                    <li>
                        <div class="imgs">
                            <img src="@/assets/user.jpg">
                            <span class="state">审核通过</span>
                        </div>
                        <div class="msg">
                            <span class='title'>运动会志愿者招募</span>
                            <span class="time">2022-12-20 08：00 至 2022-12-22 04：30</span>
                            <span class="place">中山公园</span>
                        </div>
                    </li>
                    <li>
                        <div class="imgs">
                            <img src="@/assets/user.jpg">
                            <span class="state">审核通过</span>
                        </div>
                        <div class="msg">
                            <span class='title'>运动会志愿者招募</span>
                            <span class="time">2022-12-20 08：00 至 2022-12-22 04：30</span>
                            <span class="place">中山公园</span>
                        </div>
                    </li>

                    <li>
                        <div class="imgs">
                            <img src="@/assets/user.jpg">
                            <span class="state">审核通过</span>
                        </div>
                        <div class="msg">
                            <span class='title'>运动会志愿者招募</span>
                            <span class="time">2022-12-20 08：00 至 2022-12-22 04：30</span>
                            <span class="place">中山公园</span>
                        </div>
                    </li>
                    <li>
                        <div class="imgs">
                            <img src="@/assets/user.jpg">
                            <span class="state">审核通过</span>
                        </div>
                        <div class="msg">
                            <span class='title'>运动会志愿者招募</span>
                            <span class="time">2022-12-20 08：00 至 2022-12-22 04：30</span>
                            <span class="place">中山公园</span>
                        </div>
                    </li>
                    <li>
                        <div class="imgs">
                            <img src="@/assets/user.jpg">
                            <span class="state">审核通过</span>
                        </div>
                        <div class="msg">
                            <span class='title'>运动会志愿者招募</span>
                            <span class="time">2022-12-20 08：00 至 2022-12-22 04：30</span>
                            <span class="place">中山公园</span>
                        </div>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</template>

<script setup>

</script>

<style scoped>
#app>div {
    width: 100vw;
    height: 100vh;
    background-color: rgb(245, 245, 245);
}

.top {
    width: 94%;
    padding: 1vh 3vw;
    height: 3vh;
    background-color: white;
    margin-bottom: 1vh;
}

.top ul {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.top li input[type="button"]{
    font-size: 16px;
    font-weight: 900;
    border: none;
    background-color: transparent;
    color: rgb(145, 145, 145);
}

.top li input[type="button"]:disabled{
    color: rgb(215, 215, 215);
    border-bottom: 2px solid rgb(215, 215, 215);
}

.content .main {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: white;
}

.content .main ul {
    width: 93%;
    list-style: none;
}

.content .main li {
    width: 100%;
    height: 10vh;
    display: flex;
    align-items: stretch;
    margin-bottom: 1vh;
}

.content .main .imgs {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.content .main li .imgs img {
    width: 100%;
}

.content .main li .imgs span {
    padding: 1vw;
    position: absolute;
    bottom: 0px;
    left: 0px;
    background-color: rgb(78, 78, 78);
    color: white;
    font-size: 12px;
}

.content .main li .msg {
    flex: 2;
    padding: 0px 2vw;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: baseline
}

.content .main li .msg .title {
    font-weight: 900;
}

.content .main li .msg .time {
    font-size: 12px;
}

.content .main li .msg .place {
    display: inline;
    background-color: rgb(194, 194, 194);
    color: rgb(114, 114, 114);
    border-radius: 10px;
    padding: 0px 8px;
}
</style>